using System;
using Rdl;

namespace GTame.ReportParser
{

    public class TextboxType
    {

        private GTame.ReportParser.ActionType _Action;
        private string _Bookmark;
        private System.Nullable<bool> _CanGrow;
        private System.Nullable<bool> _CanShrink;
        private GTame.ReportParser.CustomPropertiesType _CustomProperties;
        private string _DataElementName;
        private Rdl.TextboxTypeDataElementOutput _DataElementOutput;
        private Rdl.TextboxTypeDataElementStyle _DataElementStyle;
        private string _Height;
        private string _HideDuplicates;
        private string _Label;
        private string _Left;
        private string _LinkToChild;
        private string _RepeatWith;
        private GTame.ReportParser.StyleType _Style;
        private GTame.ReportParser.ToggleImageType _ToggleImage;
        private string _ToolTip;
        private string _Top;
        private GTame.ReportParser.UserSortType _UserSort;
        private string _Value;
        private GTame.ReportParser.VisibilityType _Visibility;
        private string _Width;
        private System.Nullable<uint> _ZIndex;
        private string nameField;

        public GTame.ReportParser.ActionType Action
        {
            get
            {
                if (_Action == null)
                    _Action = new GTame.ReportParser.ActionType();
                return _Action;
            }
            set
            {
                _Action = value;
            }
        }

        public string Bookmark
        {
            get
            {
                return _Bookmark;
            }
            set
            {
                _Bookmark = value;
            }
        }

        public System.Nullable<bool> CanGrow
        {
            get
            {
                return _CanGrow;
            }
            set
            {
                _CanGrow = value;
            }
        }

        public System.Nullable<bool> CanShrink
        {
            get
            {
                return _CanShrink;
            }
            set
            {
                _CanShrink = value;
            }
        }

        public GTame.ReportParser.CustomPropertiesType CustomProperties
        {
            get
            {
                if (_CustomProperties == null)
                    _CustomProperties = new GTame.ReportParser.CustomPropertiesType();
                return _CustomProperties;
            }
            set
            {
                _CustomProperties = value;
            }
        }

        public string DataElementName
        {
            get
            {
                return _DataElementName;
            }
            set
            {
                _DataElementName = value;
            }
        }

        public Rdl.TextboxTypeDataElementOutput DataElementOutput
        {
            get
            {
                return _DataElementOutput;
            }
            set
            {
                _DataElementOutput = value;
            }
        }

        public Rdl.TextboxTypeDataElementStyle DataElementStyle
        {
            get
            {
                return _DataElementStyle;
            }
            set
            {
                _DataElementStyle = value;
            }
        }

        public string Height
        {
            get
            {
                return _Height;
            }
            set
            {
                _Height = value;
            }
        }

        public string HideDuplicates
        {
            get
            {
                return _HideDuplicates;
            }
            set
            {
                _HideDuplicates = value;
            }
        }

        public string Label
        {
            get
            {
                return _Label;
            }
            set
            {
                _Label = value;
            }
        }

        public string Left
        {
            get
            {
                return _Left;
            }
            set
            {
                _Left = value;
            }
        }

        public string LinkToChild
        {
            get
            {
                return _LinkToChild;
            }
            set
            {
                _LinkToChild = value;
            }
        }

        public string Name
        {
            get
            {
                return nameField;
            }
            set
            {
                nameField = value;
            }
        }

        public string RepeatWith
        {
            get
            {
                return _RepeatWith;
            }
            set
            {
                _RepeatWith = value;
            }
        }

        public GTame.ReportParser.StyleType Style
        {
            get
            {
                if (_Style == null)
                    _Style = new GTame.ReportParser.StyleType();
                return _Style;
            }
            set
            {
                _Style = value;
            }
        }

        public GTame.ReportParser.ToggleImageType ToggleImage
        {
            get
            {
                if (_ToggleImage == null)
                    _ToggleImage = new GTame.ReportParser.ToggleImageType();
                return _ToggleImage;
            }
            set
            {
                _ToggleImage = value;
            }
        }

        public string ToolTip
        {
            get
            {
                return _ToolTip;
            }
            set
            {
                _ToolTip = value;
            }
        }

        public string Top
        {
            get
            {
                return _Top;
            }
            set
            {
                _Top = value;
            }
        }

        public GTame.ReportParser.UserSortType UserSort
        {
            get
            {
                if (_UserSort == null)
                    _UserSort = new GTame.ReportParser.UserSortType();
                return _UserSort;
            }
            set
            {
                _UserSort = value;
            }
        }

        public string Value
        {
            get
            {
                return _Value;
            }
            set
            {
                _Value = value;
            }
        }

        public GTame.ReportParser.VisibilityType Visibility
        {
            get
            {
                if (_Visibility == null)
                    _Visibility = new GTame.ReportParser.VisibilityType();
                return _Visibility;
            }
            set
            {
                _Visibility = value;
            }
        }

        public string Width
        {
            get
            {
                return _Width;
            }
            set
            {
                _Width = value;
            }
        }

        public System.Nullable<uint> ZIndex
        {
            get
            {
                return _ZIndex;
            }
            set
            {
                _ZIndex = value;
            }
        }

        public TextboxType()
        {
            _CanGrow = new System.Nullable<bool>[]();
            _CanShrink = new System.Nullable<bool>[]();
            _ZIndex = new System.Nullable<uint>[]();
        }

        public Rdl.TextboxType Write()
        {
            // trial
            return null;
        }

    } // class TextboxType

}

